#include "GameSupport.h"

const char* GameSupport::getTextMode(EGameMode mode)
{
	return strEGameMode[(int)mode];
}
const char* GameSupport::getTextPlayComponent(EPlayComponent component)
{
	return strEPlayComponent[(int)component];
}

const char* GameSupport::getTextPlayLayer(EPlayLayer layer)
{
	return strEPlayLayer[(int)layer];
}

const char* GameSupport::getTextSplashLayer(ESplashLayer layer)
{
	return strESplashLayer[(int)layer];
}
const Color3B GameSupport::getGhostColor(EGhostColor ghostColor)
{
    Color3B color = color3BEGhostColor[(int)ghostColor];
    Color3B result;
    result.r = color.r;
    result.g= color.g;
    result.b= color.b;
    return result;
}
const char* GameSupport::getTextCongratulationComponent(ECongratulationComponent component)
{
    return strECongratulationsComponent[(int)component];
}